package com.suwish.pc.ui.component;

import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JPanel;
/**
 * 
 * @author Min
 *
 */
public class UIFrame extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private JPanel contentPane = null;
	
	public UIFrame(){
		contentPane = new JPanel();
		getContentPane().setLayout(new BorderLayout());
		getContentPane().add(contentPane, BorderLayout.CENTER);
	}
	/**
	 * 
	 * 替换默认的默认的{@link JFrame#getContentPane()}方法，为了将来统一UI
	 * 
	 * @return
	 */
	public JPanel getIContentPane(){
		return contentPane;
	}
	
}
